import request from '@/utils/request'

//  查询系统配置项列表
export function getConfigList(params) {
    return request({
        url: '/business/systemConfiguration/list',
        method: 'get',
        params
    })
}

//  更新系统配置项
export function updateConfigOption(data) {
    return request({
        url:'/business/systemConfiguration/updateData',
        method:'post',
        data
    })
}


//  获取系统配置项详情
export function getConfigById(params){
    return request({
        url: `/business/systemConfiguration/getDetail`,
        method: 'get',
        params
    })
}